package com.uikoo9.manage.y.util;

import javax.servlet.http.HttpServletRequest;

/**
 * Created with IntelliJ IDEA.
 * User: shoko (fbjia.com)
 * Date: 14-1-23
 * Time: 下午5:51
 * To change this template use File | Settings | File Templates.
 */
public class DomainUtil {

    public static String getDomain(HttpServletRequest request){
        return request.getRequestURL().toString().replace("http://","");
    }
}
